package pres.wchen.oa.cor.shiro;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//@EnableAutoConfiguration
public class OaCorShiroApplication {

	public static void main(String[] args) {
		SpringApplication.run(OaCorShiroApplication.class, args);
	}


//	@Bean
//	public FreeMarkerViewResolver freeMarkerViewResolver() {
//		FreeMarkerViewResolver resolver = new FreeMarkerViewResolver();
//		resolver.setPrefix("");
//		resolver.setSuffix(".ftl");
//		resolver.setContentType("text/html; charset=UTF-8");
//		resolver.setRequestContextAttribute("rc");
//		resolver.setViewClass(MyFreemarkerView.class);
//		return resolver;
//	}
}
